<template>
  <div style="margin-top: 30px;">
    <iframe ref="myframe" width="100%" height="750px" :src="httpsurl + '#/live?token='+ token"></iframe>
    <button @click="getIFrameURL">获取当前页面URL</button>
  </div>
</template>

<script setup>

const token = import.meta.env.VITE_WVP_TOKEN
const httpsurl = import.meta.env.VITE_WVP_API
</script>

<style scoped>
iframe {
  border: none;
}
</style>
